package the.broccoli.uc.mapper;

import org.apache.ibatis.annotations.Param;
import org.wisteria.framework.web.mvc.dao.SuperMapper;
import the.broccoli.uc.entity.RoleRes;

import java.util.Date;
import java.util.List;

/**
 * 角色与资源
 */
public interface RoleResMapper extends SuperMapper<RoleRes> {

    List<String> selectResIdList(@Param("roleIdList") List<String> roleIdList);

    void deleteByRoleId(@Param("roleId") String roleId, @Param("modifiedId") String modifiedId, @Param("modifiedName") String modifiedName, @Param("modifiedTime") Date modifiedTime);
}
